package cloud.song.cloud.consuner.config;

import com.song.cloud.common.entities.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author ZhangGuisong
 * @Date 2021/2/18-21:31
 */

@FeignClient(value = "CLOUD-PROVIDER-SERVICE")
public interface openfeignConfig {
    @GetMapping("/payment/query/{id}")
    public CommonResult query(@PathVariable("id") Long id);
    @GetMapping("/payment/timeOut")
    public String  timeOut();
}
